/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package datasource.bmp;

/**
 *
 * @author Fabian
 */
public class BitmapFileHeader {

    public static final long HEADER_SIZE=14;
    public static final byte[] HEADER_FIELD = {'B', 'M'};
    private long filesize;
    private int creator1;
    private int creator2;
    private long bmp_offset;

    public BitmapFileHeader(
            long filesize,
            int creator1,
            int creator2,
            long bmp_offset) {
        this.filesize = filesize;
        this.creator1 = creator1;
        this.creator2 = creator2;
        this.bmp_offset = bmp_offset;
    }

    public BitmapFileHeader() {
    }

    public long getBmp_offset() {
        return bmp_offset;
    }

    public void setBmp_offset(long bmp_offset) {
        this.bmp_offset = bmp_offset;
    }

    public int getCreator1() {
        return creator1;
    }

    public void setCreator1(int creator1) {
        this.creator1 = creator1;
    }

    public int getCreator2() {
        return creator2;
    }

    public void setCreator2(int creator2) {
        this.creator2 = creator2;
    }

    public long getFilesize() {
        return filesize;
    }

    public void setFilesize(long filesize) {
        this.filesize = filesize;
    }
}
